<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的培训 - 退役军人服务平台</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #1a6df0;
            --navy-blue: #0d2b50;
            --secondary: #ff6b00;
            --light-bg: #f5f7fa;
            --white: #ffffff;
            --gray: #6c757d;
            --text-primary: #333;
            --text-secondary: #666;
            --border: #e5e5e5;
        }

        body {
            font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
            background: var(--light-bg);
            color: var(--text-primary);
            padding-bottom: 70px;
        }

        .header {
            background: linear-gradient(135deg, var(--navy-blue) 0%, var(--primary) 100%);
            color: white;
            padding: 15px 20px;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-title {
            font-size: 18px;
            font-weight: 600;
        }

        .tabs {
            background: var(--white);
            display: flex;
            padding: 0 20px;
            border-bottom: 1px solid var(--border);
        }

        .tab {
            padding: 15px 20px;
            font-size: 14px;
            color: var(--text-secondary);
            cursor: pointer;
            border-bottom: 2px solid transparent;
            transition: all 0.3s;
        }

        .tab.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
            font-weight: 600;
        }

        .training-list {
            margin: 20px;
        }

        .training-item {
            background: var(--white);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .training-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 15px;
        }

        .training-title {
            font-size: 16px;
            font-weight: 600;
            flex: 1;
        }

        .training-status {
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
        }

        .status-learning {
            background: #e3f2fd;
            color: var(--primary);
        }

        .status-completed {
            background: #e8f5e9;
            color: #4caf50;
        }

        .progress-section {
            margin-top: 15px;
        }

        .progress-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .progress-label {
            font-size: 12px;
            color: var(--text-secondary);
        }

        .progress-value {
            font-size: 12px;
            color: var(--primary);
            font-weight: 600;
        }

        .progress-bar {
            width: 100%;
            height: 6px;
            background: var(--border);
            border-radius: 3px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: var(--primary);
            transition: width 0.3s;
        }

        .training-info {
            font-size: 12px;
            color: var(--text-secondary);
            margin-top: 10px;
        }
    </style>
</head>
<body>
    <div class="header">
        <div class="header-title">我的培训</div>
    </div>

    <div class="tabs">
        <div class="tab active">进行中</div>
        <div class="tab">已完成</div>
        <div class="tab">已报名</div>
    </div>

    <div class="training-list">
        <div class="training-item">
            <div class="training-header">
                <div class="training-title">Java开发工程师培训</div>
                <span class="training-status status-learning">学习中</span>
            </div>
            <div class="progress-section">
                <div class="progress-header">
                    <span class="progress-label">学习进度</span>
                    <span class="progress-value">65%</span>
                </div>
                <div class="progress-bar">
                    <div class="progress-fill" style="width: 65%;"></div>
                </div>
            </div>
            <div class="training-info">已学习 19/30 天 | 预计 2024-03-25 完成</div>
        </div>

        <div class="training-item">
            <div class="training-header">
                <div class="training-title">项目管理PMP认证</div>
                <span class="training-status status-completed">已完成</span>
            </div>
            <div class="progress-section">
                <div class="progress-header">
                    <span class="progress-label">学习进度</span>
                    <span class="progress-value">100%</span>
                </div>
                <div class="progress-bar">
                    <div class="progress-fill" style="width: 100%;"></div>
                </div>
            </div>
            <div class="training-info">已完成 | 证书已颁发 | 2024-02-15</div>
        </div>
    </div>
</body>
</html>
